package org.genntii.smcommon.exception;

import org.springframework.http.HttpStatus;
import org.springframework.web.bind.annotation.ResponseStatus;

@ResponseStatus(HttpStatus.UNAUTHORIZED)
public class TokenException extends BaseException{
    public TokenException(String message) {
        super(message);
    }

    public TokenException(String message, int code) {
        super(message, code);
    }

    public TokenException(String message, Throwable cause, int code) {
        super(message, cause, code);
    }

    public TokenException(Throwable cause, int code) {
        super(cause, code);
    }
}
